package com.yantong.pojo.vo;

import java.io.Serializable;

/**
 * 库存和销量信息
 * @author kanghaixin
 * @Date: 2018/11/14 19:29
 * @Description:
 */
public class SalesStockVo implements Serializable {
    /**
     * 销量
     */
    private Integer sales;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 购物车数量
     */
    private Integer cartNum;

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public SalesStockVo(Integer sales, Integer stock) {
        this.sales = sales;
        this.stock = stock;
    }

    public SalesStockVo() {
    }

    @Override
    public String toString() {
        return "SalesStockVo{" +
                "sales=" + sales +
                ", stock=" + stock +
                '}';
    }

    public Integer getCartNum() {
        return cartNum;
    }

    public void setCartNum(Integer cartNum) {
        this.cartNum = cartNum;
    }
}
